/**
 * 
 */
package com.base.myproject.client.busi.service;

import com.base.myproject.client.busi.BaseStore;
import com.base.myproject.client.busi.BO.BusiObject;
import com.base.myproject.client.ui.BaseJDBCPanel;
import com.extjs.gxt.ui.client.Style.LayoutRegion;
import com.extjs.gxt.ui.client.util.Margins;
import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
import com.google.gwt.user.client.Window;

/**
 * @author zgw
 *2010-1-10
 */
public class GcodeBigTypePanel extends BaseJDBCPanel{
	
	BaseStore<BusiObject> store = new BaseStore<BusiObject>();
	
	public GcodeBigTypePanel()
	{
		super();
		init();
	}
	public void init()
	{
		this.setWidth(Window.getClientWidth());
		this.setAutoHeight(true);
		BorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER);  
	    centerData.setMargins(new Margins(5, 5, 0, 0));  
	
	    this.add(initWeiget(),centerData);
	}

	public ContentPanel initWeiget() 
	{
		ContentPanel panel = new ContentPanel();
		panel.setHeaderVisible(false);
		
		return panel;
	}
}
